# $Id: PKGBUILD 65984 2012-02-22 14:12:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-www-sms
pkgver=0.09
pkgrel=6
pkgdesc="Perl/CPAN Module WWW::SMS : A Perl framework for sending SMS messages"
arch=("any")
url="http://search.cpan.org/dist/WWW-SMS/"
license=("GPL" "PerlArtistic")
depends=(perl)
install=perl-www-sms.install
source=("http://www.cpan.org/authors/id/E/EI/EIM/WWW-SMS/WWW-SMS-$pkgver.tar.gz")
md5sums=('bf5810409bfdc9dfb9fb44e8ef3ec346')

build() {
  cd $srcdir/WWW-SMS-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
